package test;

import redis.clients.jedis.Jedis;

public class Publisher {
    public void publish(String channel, String message) {
        try (Jedis jedis = new Jedis("10.255.48.177", 31219)) {
        	jedis.auth("Trtjk2024");
            jedis.publish(channel, message);
        }
    }
}
